package com.dhj.jvmstudy.chapter10;

/**
 * javap 命令的使用
 */
public class JavapTest {

    private int num;
    boolean flag;
    protected char gender;
    public String info;

    public static final int COUNTS = 1;

    static {
        String url = "Hello World.";
    }

    {
        info = "java";
    }

    public JavapTest(){

    }

    private JavapTest(boolean flag){
        this.flag = flag;
    }

    private void methodPrivate(){

    }

    int getNum(int i){
        return num + i;
    }

    protected char showGender(){
        return gender;
    }

    public void showInfo(){
        int i = 10;
        System.out.println(info + i);
    }

}
